Online documentation - WebsydianExpress v3.5 |
WSYAPIWS/XMLAPI._Parameters.DeleteXMLDoc
Note that this API is placed in the WYSAPIWS model.
The API is only available in the Java, WinC, WinC/iSeries versions of WebsydianExpress.
Field | Variable | ...as | Description |
---|---|---|---|
WSType | Input | Input | Specifies the type of document the references are for. The values currently used are Input, Output, Envelope, and Header. |
The API is a memory parameter API.
The API deletes the memory holding the reference to the XML document.
The API is called for input and output by XMLServiceProcessor, and for envelope and header by SoapServiceProcessor. This means that you should not have to call this function unless you are creating your own service processor.
It is important to note that by calling this API, you are only deleting the memory containing the object references, you are not removing the created object from the XML parser. If you have created an XML document using the DomServices.CreateDocument function, you still must ensure that you call the DomServices.DestroyDocument function to remove the document from the parser - or a memory leak will occur.